/// Certificate validation status codes.
///
/// This struct defines constants for different certificate validation states
/// that can be used throughout the certificate management system.
pub struct ValidCode;

impl ValidCode {
    /// Certificate is valid and passes all verification checks
    pub const NORMAL: i32 = 0;
    
    /// Certificate failed verification process
    pub const VERIFICATION_FAILURE: i32 = 1;
    
    /// Certificate has been revoked
    pub const REVOKE: i32 = 2;
}

/// Certificate type constants.
///
/// This struct defines string constants for different types of certificates
/// supported by the attestation system.
pub(crate) struct CertificateType;

impl CertificateType {
    /// Reference value certificate type
    pub(crate) const REFVALUE: &'static str = "refvalue";
    
    /// Policy certificate type
    pub(crate) const POLICY: &'static str = "policy";
    
    /// TPM boot certificate type
    pub(crate) const TPM_BOOT: &'static str = "tpm_boot";
    
    /// TPM IMA (Integrity Measurement Architecture) certificate type
    pub(crate) const TPM_IMA: &'static str = "tpm_ima";
    
    /// Certificate Revocation List type
    pub(crate) const CRL: &'static str = "crl";

    pub(crate) const ASCEND_NPU: &'static str = "ascend_npu";
}